package com.example.demo.service;

import com.example.demo.entity.BackResponseEntity;
import com.example.demo.entity.requestJson.DeleteReq;
import com.example.demo.entity.requestJson.FavoriteBookReq;
import com.example.demo.entity.requestJson.QueryFavBookReq;
import com.example.demo.entity.responseJson.BookshelfBInformationRes;
import com.example.demo.entity.responseJson.ListResult;

import java.util.List;

/**
 * @author : 洪俊新
 * @date : 2021/3/10 11:43
 * @description:
 */
public interface ABookFavoritesService {
    BackResponseEntity<Object> insertFavoriteBook(FavoriteBookReq favoriteBookReq);
    BackResponseEntity<ListResult<List<BookshelfBInformationRes>>> querybookshelefBook(DeleteReq deleteReq);
    BackResponseEntity<Object> isfavoriteBook(FavoriteBookReq favoriteBookReq);
    BackResponseEntity<Object> unSubscribeBook(FavoriteBookReq favoriteBookReq);
    BackResponseEntity<List<BookshelfBInformationRes>> fuzzyQueryBook(QueryFavBookReq queryFavBookReq);
}
